// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using Elastic.Clients.Elasticsearch.Serverless.Fluent;
using Elastic.Clients.Elasticsearch.Serverless.Serialization;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace Elastic.Clients.Elasticsearch.Serverless.MachineLearning;

public sealed partial class DataframeClassificationSummary
{
	/// <summary>
	/// <para>
	/// Accuracy of predictions (per-class and overall).
	/// </para>
	/// </summary>
	[JsonInclude, JsonPropertyName("accuracy")]
	public Elastic.Clients.Elasticsearch.Serverless.MachineLearning.DataframeClassificationSummaryAccuracy? Accuracy { get; init; }

	/// <summary>
	/// <para>
	/// The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.
	/// It is calculated for a specific class (provided as "class_name") treated as positive.
	/// </para>
	/// </summary>
	[JsonInclude, JsonPropertyName("auc_roc")]
	public Elastic.Clients.Elasticsearch.Serverless.MachineLearning.DataframeEvaluationSummaryAucRoc? AucRoc { get; init; }

	/// <summary>
	/// <para>
	/// Multiclass confusion matrix.
	/// </para>
	/// </summary>
	[JsonInclude, JsonPropertyName("multiclass_confusion_matrix")]
	public Elastic.Clients.Elasticsearch.Serverless.MachineLearning.DataframeClassificationSummaryMulticlassConfusionMatrix? MulticlassConfusionMatrix { get; init; }

	/// <summary>
	/// <para>
	/// Precision of predictions (per-class and average).
	/// </para>
	/// </summary>
	[JsonInclude, JsonPropertyName("precision")]
	public Elastic.Clients.Elasticsearch.Serverless.MachineLearning.DataframeClassificationSummaryPrecision? Precision { get; init; }

	/// <summary>
	/// <para>
	/// Recall of predictions (per-class and average).
	/// </para>
	/// </summary>
	[JsonInclude, JsonPropertyName("recall")]
	public Elastic.Clients.Elasticsearch.Serverless.MachineLearning.DataframeClassificationSummaryRecall? Recall { get; init; }
}